package com.mxx.common.exception;

import lombok.Data;

/**
 * 线程执行异常
 */
@Data
public class ThreadHandleExecuteException extends RuntimeException {

    private String sourceTag;

    /**
     * @param message   描述信息
     * @param sourceTag 异常来源类标记
     */
    public ThreadHandleExecuteException(String message, String sourceTag) {
        super(message);
        this.sourceTag = sourceTag;

    }
}
